module.exports = function($scope, $modalInstance, groupsale, code){
	
	$scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    };

    groupsale.get({'code' : code}, {}, function(res){

        $scope.objs = res.data;

	});



};
